package com.gitee.cashzhang27.test.sdk.bestsign.core;

import com.gitee.cashzhang27.test.sdk.bestsign.domain.AbstractBestSignResponse;
import com.gitee.cashzhang27.test.sdk.bestsign.domain.BestSignRequest;

/**
 * @author Cash Zhang
 * @version v1.0
 * @since 2019/08/05 14:52
 */
public interface BestSignClient {

  /**
   * 普通方法执行
   *
   * @param <T> 返回实体
   * @param request 请求实体
   * @return 返回值
   * @throws Exception 异常
   */
  <T extends AbstractBestSignResponse> T execute(BestSignRequest<T> request)
      throws Exception;

}
